package com.jiao.log4j2;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

public class Log4j2Demo {
    public static void  main(String[] args){
        Logger logger  = LogManager.getLogger(Log4j2Demo.class);
        logger.trace("trace----------------");
        logger.error("errr----------------");
    }
}
